﻿<%@ Page Language="C#" MasterPageFile="~/Shared/Masters/Form.master" AutoEventWireup="true" CodeFile="PerfModifyForm.aspx.cs" 
Inherits="Modules_Personal_PerfModifyForm" Title="绩效修改" %>

<asp:Content ID="Content2" ContentPlaceHolderID="idFormMain" Runat="Server">
<script src="../../Scripts/DatePicker/WdatePicker.js" language="javascript"></script>
    <h2>
       <asp:Label ID="lblPageTitle" runat="server" Text="绩效修改" ></asp:Label>
    </h2>
<div>
    <table cellpadding='2' cellspacing='1' class='ow_fim_mg' width='100%'>
                <tr>
                    <td class='fi_l'>
                        <asp:Label ID="lbCode" runat="server" Text="标题:"></asp:Label>
                    </td>
                    <td class='fi_r'>
                        <asp:Label ID="lblTitle" runat="server" Text=""></asp:Label>
                    </td>
                    <td class='fi_l'>
                        <asp:Label ID="lbName" runat="server" Text="绩效日期:"></asp:Label>
                    </td>
                    <td class='fi_r'>
                        <asp:Label ID="lblPerfDate" runat="server" Text=""></asp:Label>
                        </td>
                </tr>
                <tr>
                    <td class='fi_l'>
                        <asp:Label ID="Label3" runat="server" Text="加分:"></asp:Label>
                    </td>
                    <td class='fi_r' colspan="3">
                        <asp:TextBox ID="txtPlusScore" runat="server" Width="120px"></asp:TextBox>
                        <asp:CompareValidator ID="cvScore" runat="server" ControlToValidate="txtPlusScore" ErrorMessage="分值大于等于0"
                           Operator="GreaterThanEqual" Type="Integer" ValueToCompare="0" ValidationGroup="oss"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td class='fi_l'>
                        <asp:Label ID="Label4" runat="server" Text="加分原因:"></asp:Label>
                    </td>
                    <td class='fi_r' colspan="3">
                        <asp:TextBox ID="txtPlusReason" runat="server" TextMode="MultiLine" Rows="5" Width='400px' MaxLength='4000'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class='fi_l'>
                        <asp:Label ID="Label7" runat="server" Text="备注:"></asp:Label>
                    </td>
                    <td class='fi_r' colspan="3">
                        <asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" Rows="5" Width='400px' MaxLength='2000'></asp:TextBox>
                    </td>
                </tr>
            </table>
</div>

<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
        ShowSummary="False" ValidationGroup="oss" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="idFormButton" Runat="Server">
  <asp:Button ID="btnSave" runat="server" Text="保存"  ValidationGroup="oss"
        OnClick="btnSave_Click" />
    <asp:Button ID="CloseButton" runat="server" Text="关闭" 
        OnClientClick="return closeForm();" />   
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="idScript" runat="Server">

    <script type="text/javascript">
        function closeForm() {
            window.returnValue="false";
            window.opener=null;
            window.close();
            return false;
        } 
       
    </script>

</asp:Content>



